#include<iostream>
#include<iomanip>
using namespace std;
const double PI = 3.14;
int main()
{
	double r;
	cin >> r;
	cout << fixed << setprecision(5) << 4 * PI * r * r * r / 3;
	return 0;
}